package com.ybwh.springboot2.excel;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;
import lombok.Getter;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 自定义还款计划导入
 * </p>
 *
 * @author fanbeibei
 * @version 1.0.0
 * @date 2023/9/12 16:44
 */
@Getter
public class FactorCustomRepayPlanParser extends AnalysisEventListener<CustomRepayScheduleImport> {
    private List<CustomRepayScheduleImport> excelDatas = new ArrayList<>();

    @Override
    public void invoke(CustomRepayScheduleImport rowData, AnalysisContext analysisContext) {
        excelDatas.add(rowData);
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {

    }
}
